home *** CD-ROM | disk | FTP | other *** search
/ Meeting Pearls 1 / Meeting Pearls Vol 1 (1994).iso / installed_progs / text / faqs / os2-faq.user.part4 < prev    next >
Encoding:
Internet Message Format  |  1993-11-23  |  54.0 KB

  1. Subject: OS/2 Frequently Asked Questions List Rel. 2.1D (4 of 4)
  2. Newsgroups: comp.os.os2.misc,comp.os.os2.apps,news.answers,comp.answers,uchi.comp.os2
  3. From: sip1@kimbark.uchicago.edu (Timothy F. Sipples)
  4. Date: Mon, 22 Nov 1993 21:40:40 GMT
  5.  
  6. Archive-name: os2-faq/user/part4
  7. Version: 2.1D
  8.  
  9. [Part 4 of 4]
  10.  
  11.   or 76711.611@compuserve.com, as appropriate.)
  12.   
  13.   
  14.   Related information: 
  15.   
  16.   (4.5) Technical Support 
  17.   (4.7) Online Services 
  18.   
  19.  
  20. (4.11) OS/2 BBSes
  21.  
  22. What OS/2 BBSes can I dial?  
  23.  
  24. The following BBSes hold large OS/2 libraries:  
  25.  
  26.  
  27.   Fernwood                 (203) 483-0348
  28.  
  29.   The Bin BBS              (206) 451-1905
  30.  
  31.   OS/2 Source BBS          (303) 744-0373
  32.  
  33.   Denver OS/2 BBS          (303) 755-6859
  34.  
  35.   Inside Technologies BBS  (313) 283-1151
  36.  
  37.   OS/2 Woodmeister         (314) 446-0016
  38.  
  39.   Pyramid/2                (415) 494-7497
  40.  
  41.   Gateway/2                (314) 554-9313
  42.  
  43.   Bay Area OS/2            (510) 657-7948
  44.  
  45.   OS/2 San Diego           (619) 558-9475
  46.  
  47.   OS/2 Las Vegas           (702) 433-5535
  48.  
  49.   OS/2 Shareware           (703) 385-4325
  50.  
  51.   Greater Chicago Online   (708) 895-4042
  52.  
  53.   OS/2 Exchange BBS        (904) 739-2445
  54.  
  55.   Abaforum (Barcelona)     34-3-589.38.88
  56.  
  57.   IBM UK                   44-256-336655
  58.  
  59.   OS/2 UK                  44-454-633197
  60.  
  61.   IBM Denmark              45-42-88-72-22
  62.  
  63.   Copenhagen UG BBS        45-48-24-45-80
  64.  
  65.   OS/2 Norway              47-22-38-09-49
  66.  
  67.   IBM Norway               47-66-99-94-50
  68.  
  69.   IBM Germany              049-7034-15-2160
  70.  
  71.   OS/2 Australia           61-2-241-2466
  72.  
  73.   Soft/2 Shareware         61-8-370-7339
  74.   (Adelaide)
  75.  
  76.  
  77. (The monthly Worldwide OS/2 BBS Listing, available from these BBSes, lists 
  78. others.)  The IBM PC Company BBS (modem 919-517-0001) has some 
  79. shareware/freeware as well, along with CSDs [See (4.6) Corrective Service 
  80. Diskettes] and the PS/2 Assistant (an invaluable resource for locating 
  81. almost any sort of information on OS/2).  For information on IBM's OS/2 BBS 
  82. phone 800-547-1283.  IBM Canada maintains several support BBSes:  
  83.  
  84.       (416) 946-4244 
  85.       (416) 946-4255 
  86.       (514) 938-3022 
  87.       (604) 664-6464 
  88.       {{ (604) 380-5441 }} 
  89.       
  90.  
  91.   
  92.   Related information: 
  93.   
  94.   (3.2) Shareware and Freeware Sources 
  95.   (4.6) Corrective Service Diskettes 
  96.   
  97.  
  98. (4.12) IBM Telephone Directory
  99.  
  100. IBM has so many telephone numbers.  Which do I use?  
  101.  
  102. Here are some of the telephone numbers at IBM that are of particular 
  103. importance to OS/2 users.  The list is by no means complete, and future 
  104. releases of the OS/2 Frequently Asked Questions List will add more.  
  105.  
  106. o IBM Help Center (800-756-4IBM).  The "800 number for all 800 numbers" in 
  107. the United States.  If you're not sure which number to call, start here.  
  108. The operator will stay on the line until you're satisfied you've reached the 
  109. right party.  
  110.  
  111. o IBM Information Center (800-IBM-3333).  IBM's United States "switchboard" 
  112. -- can be used to reach any IBM employee.  
  113.  
  114. o IBM OS/2 Hotline (800-3-IBM-OS2).  Accepts orders for OS/2, certain OS/2 
  115. software titles, OS/2 video cassettes, t-shirts, mouse pads, computer 
  116. furniture, and other OS/2-related items.  For United States residents.  
  117.  
  118. o IBM OS/2 Technical Support (800-992-4777).  The product support line for 
  119. OS/2 in the United States.  Look in the inside front cover of your OS/2 
  120. Using the Operating System manual for support information.  
  121.  
  122. o IBM PC Technical Books (800-765-4IBM).  Accepts orders for most IBM 
  123. publications from anyone in the United States.  
  124.  
  125. o IBM Personal Systems Software Canada (800-465-1234).  For general 
  126. inquiries and orders from Canadian residents for any OS/2-related product.  
  127.  
  128. o IBM Publications Canada (416-474-7000).  Accepts orders for any IBM 
  129. publication, including the OS/2 Online Book Collection, shipped to any 
  130. Canadian address.  
  131.  
  132. o IBM Publications U.S.  (800-879-2755 opt.  1).  Accepts orders for any IBM 
  133. publication shipped to any address in the United States.  
  134.   
  135.   
  136.   Related information: 
  137.   
  138.   (4.5) Technical Support 
  139.   
  140.  
  141. (5.0) Using OS/2
  142.  
  143.  The following questions are addressed in this section: 
  144.  
  145.  (5.1)  I'm a Unix wizard.  How do I make OS/2 resemble Unix? 
  146.  
  147.  (5.2)  I prefer Windows.  How do I make OS/2 2.1 resemble Windows
  148.         (or OS/2 1.3)?
  149.  
  150.  (5.3)  Sometimes OS/2 2.1 will freeze when I run an application.  What
  151.         do I do?
  152.  
  153.  (5.4)  How do I start a background process from the OS/2 command line? 
  154.  
  155.  (5.5)  How do I add new Adobe Type Manager Typefaces? 
  156.  
  157.  (5.6)  How do I tweak OS/2 2.1 for maximum performance? 
  158.  
  159.  (5.7)  How do I measure OS/2 performance and memory usage? 
  160.  
  161.  (5.8)  My background bitmap does not display correctly.  What's wrong? 
  162.  
  163.  (5.9)  How do I boot a real version of DOS from within OS/2 2.1? 
  164.  
  165.  (5.10)  Are there any clever tricks that apply to OS/2 2.1? 
  166.  
  167.  (5.11)  How do I use REXX?  What does it do? 
  168.  
  169.  (5.12)  What ANSI escape sequences can be used? 
  170.  
  171.  
  172. (5.1) Making OS/2 Resemble Unix
  173.  
  174. I'm a Unix wizard.  How do I make OS/2 resemble Unix?  
  175.  
  176. A great number of GNU and Unix utilities have been ported to OS/2 native 
  177. mode and are available from (3.2) Shareware and Freeware Sources.  A uucp 
  178. package, UUPC/Extended, is available via anonymous ftp from 
  179. ftp.clarkson.edu, directory /pub/uupc; mail help@kew.com with questions.  
  180.  
  181. In addition, the Hamilton C Shell is available from Hamilton Labs (phone 
  182. 508-358-5715 or mail 3890321@mcimail.com).  The Thompson Toolkit, a 
  183. Bourne-like shell, and awk are published by Thompson Automation (phone 
  184. 206-224-1639).  MKS (phone 519-884-2251 or mail pat@mks.com) publishes a 
  185. number of standard Unix utilities for OS/2.  Hippix (Hippo Software, phone 
  186. 801-531-1004) provides a set of low cost Unix-like command utilities (such 
  187. as grep, awk, sh, and vi) along with a POSIX programming library.  An OS/2 
  188. version of lint is available from Gimpel Software (phone 215-584-4261).  For 
  189. OS/2-specific X Windows server support, IBM provides an optional package 
  190. available with its TCP/IP 2.0 for OS/2.  The TCP/IP 2.0 base package 
  191. includes a multithreaded news reader as well.  
  192.  
  193. DOS and Windows based utilities and aids still work fine under OS/2 2.1.  
  194.  
  195.  
  196.  Related information: 
  197.  
  198.  (3.2) Shareware and Freeware Sources 
  199.  (3.8) Networking Products 
  200.  
  201.  
  202. (5.2) Making OS/2 Resemble Windows
  203.  
  204. I prefer Windows.  How do I make OS/2 2.1 resemble Windows (or OS/2 1.3)?  
  205.  
  206. Spend some time with the Workplace Shell first.  Browse the online Tutorial, 
  207. Master Help Index, and Start Here facilties.  Consult the Unofficial Guide 
  208. to the Workplace Shell, available from (3.2) Shareware and Freeware Sources.  
  209.  
  210. If you still prefer Windows-like behavior, follow the instructions beginning 
  211. on Page 401 in the OS/2 2.1 Using the Operating System manual.  
  212.  
  213. Note that you can run the Win-OS/2 Program Manager "seamlessly" on your OS/2 
  214. desktop, and you can use it to launch DOS, Windows, and OS/2 applications.  
  215. Using the Program Manager in this way can make even hard core Windows users 
  216. more comfortable.  
  217.  
  218.  
  219.  Related information: 
  220.  
  221.  (3.2) Shareware and Freeware Sources 
  222.  
  223.  
  224. (5.3) Recovering from Crashed Sessions
  225.  
  226. Sometimes OS/2 2.1 will freeze when I run an application.  What do I do?  
  227.  
  228. Before rebooting with CTRL-ALT-DEL, try CTRL-ESC.  Do not hit additional 
  229. keys, do not move the mouse.  Wait up to a minute.  Either the Window List 
  230. or an error message should pop up.  You may close the offending application 
  231. at that point; allow some time for it to close.  (Try ALT-ESC if you have 
  232. disabled CTRL-ESC in that application's DOS Settings.  If you do not get any 
  233. response, press CTRL-ESC or ALT-ESC repeatedly until the dialog appears.)  
  234. Note that the Workplace Shell can recycle, independent of running 
  235. applications, if it crashes.  
  236.  
  237. If the system is badly disabled, sometimes pressing CTRL-ALT-NUMLOCK twice 
  238. will result in a prompt to create a dump diskette.  You may do so (the 
  239. online Command Reference describes dump diskettes), or at that point you may 
  240. reboot with CTRL-ALT-DEL.  
  241.  
  242. To prevent applications from automatically restarting see (5.10) Clever 
  243. Tricks.  To restore the desktop to "factory defaults," use ALT-F1 when OS/2 
  244. 2.1 starts.  See Appendix C of the OS/2 2.1 Using the Operating System 
  245. manual for details.  Note that if you have installed an OS/2 Service Pak 
  246. [See (4.6) Corrective Service Diskettes] the ALT-F1 sequence will restore 
  247. your desktop to the state it was found in just before installation of the 
  248. Service Pak.  
  249.  
  250.  
  251.  Related information: 
  252.  
  253.  (4.6)  Corrective Service Diskettes 
  254.  (5.10) Clever Tricks 
  255.  
  256.  
  257. (5.4) Starting Background Processes
  258.  
  259. How do I start a background process from the OS/2 command line?  
  260.  
  261. Look up the START and DETACH commands in the online Command Reference.  
  262.  
  263. If you wish to start a DOS session with nondefault settings, use a utility 
  264. such as STARTD.  If you wish to start an OS/2 session from a DOS session, 
  265. try OS2EXEC.  Both (and several others) are available from (3.2) Shareware 
  266. and Freeware Sources.  
  267.  
  268.  
  269.  Related information: 
  270.  
  271.  (3.2) Shareware and Freeware Sources 
  272.  
  273.  
  274. (5.5) Adobe Type Manager
  275.  
  276. How do I add new Adobe Type Manager typefaces?  
  277.  
  278. OS/2 2.1 comes with built-in Adobe Type Manager (ATM) for OS/2 and Win-OS/2.  
  279. A basic set of typefaces (Courier, Helvetica, and Times New Roman) comes 
  280. with OS/2 2.1 and is installed (if selected) for use under both OS/2's and 
  281. Win-OS/2's ATM.  
  282.  
  283. Each typeface you install under OS/2 and/or Win-OS/2 should come with at 
  284. least two separate files with PFB and AFM extensions.  To install a typeface 
  285. for use under Win-OS/2, use the ATM Control Panel.  The Win-OS/2 ATM Control 
  286. Panel will then build a PFM file from the AFM file if a PFM file is not 
  287. already included.  To install a typeface for use with OS/2-specific 
  288. applications, select OS/2 System -> System Setup -> Font Palette -> Edit 
  289. Font -> Add.  
  290.  
  291. PFM files may converted to AFM files using the PFM2AFM utility, available 
  292. from (3.2) Shareware and Freeware Sources.  (However, these converted AFM 
  293. files sometimes produce unusual results.)  AFM files for Adobe commercial 
  294. typefaces are available via Internet anonymous ftp from ftp.mv.us.adobe.com; 
  295. the PFB files are available for purchase from Adobe.  Many public domain 
  296. typefaces for OS/2's ATM are available from (3.2) Shareware and Freeware 
  297. Sources.  Atech Software's (phone 800-786-FONT) AllType and Ares Software's 
  298. (phone 415-578-9090) FontMonger convert between TrueType and Adobe Type 1 
  299. formats (as does the popular Fontographer utility).  
  300.  
  301. Typeface files may be shared by OS/2 ATM and Win-OS/2 ATM.  To do so, 
  302. install the typefaces using both the Font Palette and Win-OS/2 ATM Control 
  303. Panel, specifying the same target path each time (most conveniently 
  304. \PSFONTS).  
  305.  
  306. Note that IOPL=YES should appear in CONFIG.SYS; the modules WPPWNDRV, 
  307. BVHSVGA, and PMATM are marked as requiring I/O privilege.  
  308.  
  309.  
  310.  Related information 
  311.  
  312.  (3.2) Shareware and Freeware Sources 
  313.  
  314.  
  315. (5.6) Performance Tuning
  316.  
  317. How do I tweak OS/2 2.1 for maximum performance?  
  318.  
  319. For OS/2 overall, the CONFIG.SYS parameters MAXWAIT, TIMESLICE, PRIORITY, 
  320. PRIORITY_DISK_IO, PROTECTONLY, and cache settings (in the DISKCACHE line, 
  321. for FAT; or IFS line, for HPFS) can be tweaked.  The swap file should be 
  322. placed on the most used partition on the least used hard disk, and its 
  323. location is controlled by the SWAPPATH line.  See the online Command 
  324. Reference for details.  
  325.  
  326. FAT partitions should be periodically defragmented.  A shareware 
  327. defragmenter for DOS called DOG (Disk OrGanizer) works well, as do many 
  328. others.  (You can boot DOS from a floppy disk to run such a utility.)  
  329.  
  330. For the Workplace Shell, drag shadows of most often used items to the 
  331. desktop or to folders closer to the "surface" -- opening folders takes time.  
  332. Drag shadows of program objects you use often (e.g.  the Win-OS/2 full 
  333. screen Program Manager) to the Startup folder.  Disable animation (go to 
  334. OS/2 System -> System Setup -> System -> Window).  Use the faster Details 
  335. View when opening drive and folder objects; to set Details View as the 
  336. default, open the settings notebook for the object, select the Menu tab, 
  337. click on ~Open, then the Settings button, then select the Default Action.  
  338.  
  339. Try reducing the number of on screen colors or dropping down in screen 
  340. resolution to enhance speed.  Close (not just minimize; check the Window 
  341. List) unnecessary objects and applications.  Use the Monochrome scheme from 
  342. the Scheme Palette -- it provides marginally faster screen updates.  
  343. Consider adding more RAM.  
  344.  
  345. For DOS programs, run full screen instead of windowed if speed is important.  
  346. In DOS Settings for each application:  reduce conventional, XMS, DPMI, and 
  347. EMS memory allocations to the bare minimums required for maximum 
  348. performance; turn off VIDEO_RETRACE_EMULATION unless necessary; adjust 
  349. IDLE_SENSITIVITY; turn off DOS_BACKGROUND_EXECUTION if not needed; change 
  350. the HW_TIMER setting (particularly for games); enable VIDEO_FASTPASTE if 
  351. possible; turn on HW_ROM_TO_RAM.  Communications programs should use 
  352. hardware handshaking where possible (use OS/2's MODE COMx command if 
  353. necessary), and a buffered UART can prove helpful.  (DOS programs running 
  354. under OS/2 will not be aware of a buffered 16550AF UART.  OS/2 virtualizes 
  355. the serial port and manages the buffer itself.)  For faster printing set the 
  356. DOS program's output port to LPTx.OS2 (where x is the printer port number) 
  357. -- use a "print to file" option if necessary.  Disable any DOS print 
  358. spoolers; rely on OS/2's spooler instead.  Increase CONFIG.SYS's 
  359. PRINTMONBUFSIZE values.  Other, standard steps to enhance DOS performance 
  360. (e.g.  increasing BUFFERS in CONFIG.SYS) of course apply.  
  361.  
  362. For Windows programs, run using a full screen desktop if speed is vital.  
  363. The Win-OS/2 Full Screen icon set up by the installation program has poor 
  364. Settings.  For better performance perform some of the same steps outlined in 
  365. the preceding paragraph, including VIDEO_RETRACE_EMULATION off.  The same 
  366. printer output advice also applies.  Consider disabling the Public setting 
  367. in the Clipboard.  If available, set VIDEO_8514A_XGA_IOTRAP to off.  If 
  368. mouse control is lost when switching to/from the Win-OS/2 session, try 
  369. setting VIDEO_SWITCH_NOTIFICATION off.  
  370.  
  371.  
  372.  Related information: 
  373.  
  374.  (1.3) DOS and Windows Compatibility 
  375.  (5.7) Measuring Performance and Memory Usage 
  376.  
  377.  
  378. (5.7) Measuring Performance and Memory Usage
  379.  
  380. How do I measure OS/2 performance and memory usage?  
  381.  
  382. OS/2 does not treat system resources like DOS.  Memory is treated as a 
  383. virtual resource, used intelligently.  For example, OS/2 will retain unused, 
  384. "dormant" code in memory if that memory is not otherwise required, on the 
  385. assumption that that code may be used again.  Also, all but a small portion 
  386. of OS/2 (and most applications, no matter how many are running) may be paged 
  387. to disk should a large amount of physical memory be required.  Utilities 
  388. which display "free" memory, then, are only useful for rough, relative 
  389. measurements.  (Such utilities also often fail for another reason:  many 
  390. only report the largest contiguous block of free physical RAM.  And a few 
  391. will never report more than 16 MB of RAM because they were designed for OS/2 
  392. 1.x.)  
  393.  
  394. Similarly, utilities which purport to measure system load (e.g.  Pulse) 
  395. should not be relied upon for definitive performance measurement.  
  396. Subjective assessments are often much more reliable.  Pulse (and similar 
  397. utilities) rely on a measurement of processor time allocated to a thread 
  398. running at OS/2's lowest priority.  This method is sometimes subject to 
  399. erroneous results.  
  400.  
  401. That said, more rigorous system performance optimization and monitoring 
  402. tools include System Performance Monitor/2 (IBM Program No.  5871-3415), 
  403. BenchTech (Synetik, phone 303-241-1718), OR/SysMon (International OS/2 User 
  404. Group, phone 44-285-641175 or FAX 44-285-640181), CPU Monitor (Bon Ami), and 
  405. Performance 2.1 (Clear & Simple, phone 203-658-1204).  
  406.  
  407. Note that OS/2's swap file is designed to behave with hysteresis.  It will 
  408. not shrink in size as easily as it grows, under the assumption that swap 
  409. space needed once may be needed again.  It should shrink given enough time 
  410. and continued, less intense system loads.  
  411.  
  412.  
  413.  Related information: 
  414.  
  415.  (5.6) Performance Tuning 
  416.  
  417.  
  418. (5.8) Displaying Background Bitmaps
  419.  
  420. My background bitmap does not display correctly.  What's wrong?  
  421.  
  422. Color bitmap images used for the Workplace Shell screen or folder 
  423. backgrounds may not display correctly (may have distorted or missing colors) 
  424. due to incorrect matching with OS/2's default palette.  Unlike Windows, OS/2 
  425. does not adjust the palette to accommodate background bitmaps (to keep the 
  426. rest of the desktop from experiencing color distortions).  (Palette control 
  427. is now available to applications running under the 32-bit graphics engine 
  428. with an appropriate display driver, however.)  
  429.  
  430. To remedy the problem you may use the numerous background images which have 
  431. been specifically prepared for the Workplace Shell [available from (3.2) 
  432. Shareware and Freeware Sources] or you may use an image editing/conversion 
  433. utility which can create a proper, system palette-matched bitmap file.  For 
  434. example, JoeView [available from (3.2) Shareware and Freeware Sources] may 
  435. be used to import noninterlaced GIF, Windows BMP, and PCX files and save 
  436. them as palette-matched OS/2 BMP files.  
  437.  
  438. Note that background bitmap images impose some additional overhead, taking 
  439. up RAM and disk resources.  You should probably use them sparingly.  Also, 
  440. if you have set a Win-OS/2 background bitmap you may experience desktop 
  441. color distortions when running Windows programs "seamlessly."  Disable the 
  442. Win-OS/2 background bitmap to remedy the problem.  
  443.  
  444.  
  445.  Related information: 
  446.  
  447.  (2.2) SuperVGA Support 
  448.  (3.2) Shareware and Freeware Sources 
  449.  
  450.  
  451. (5.9) Specific DOS Sessions
  452.  
  453. How do I boot a real version of DOS from within OS/2 2.1?  
  454.  
  455. Booting a real version of DOS under OS/2 provides certain features that the 
  456. OS/2 emulated DOS sessions cannot.  For example, a specific DOS session can 
  457. provide access to devices (like CD-ROM drives) and networks for which there 
  458. are only DOS device drivers.  A specific DOS session can also help get DOS 
  459. applications which generate spurious "divide by zero" errors running again.  
  460.  
  461. You will be able to run one such session per hardware device.  So, for 
  462. example, if you have your DOS networking software loaded in one specific DOS 
  463. session, you may not start another, similar session.  
  464.  
  465. Specific DOS sessions are discussed in the online Command Reference (under 
  466. VMDISK), the Master Help Index, and the printed Installation Guide (Appendix 
  467. E).  You should consult those resources first.  However, if you are still 
  468. unsure how to configure your system to run specific DOS sessions, follow 
  469. these steps:  
  470.  
  471. 1. Create a bootable DOS diskette.  Insert your DOS system diskette into 
  472. Drive A and reboot.  When you arrive at the "A>" prompt, type FORMAT A:  /S 
  473. and press ENTER.  (Note that you may wish to format the diskette for the 
  474. smallest capacity possible, to save hard disk space later on.  For example, 
  475. a 5.25 inch double density -- not high density -- diskette may be formatted 
  476. to just 160K by adding the /1 /N:8 parameters to the FORMAT command.)  When 
  477. prompted, insert a blank diskette into Drive A and press ENTER.  When the 
  478. FORMAT operation is complete, remove the diskette and restart OS/2.  
  479.  
  480. 2. Copy FSFILTER.SYS to the diskette.  Double click on OS/2 System -> 
  481. Command Prompts -> OS/2 Window.  Insert the diskette you just formatted into 
  482. Drive A. Copy the following file to your startable diskette:  
  483. \OS2\MDOS\FSFILTER.SYS.  
  484.  
  485. 3. Set up CONFIG.SYS.  Using a text editor (like the OS/2 System Editor) 
  486. create the file A:\CONFIG.SYS with the following lines at the top:  
  487.       
  488.       DEVICE=FSFILTER.SYS
  489.       DEVICE=C:\OS2\MDOS\HIMEM.SYS
  490.       DEVICE=C:\OS2\MDOS\EMM386.SYS
  491.       DEVICE=C:\OS2\MDOS\ANSI.SYS
  492.       
  493. Change the "C:"  drive letter if OS/2 is installed on another drive.  Add 
  494. any other lines as required for your application (like CD-ROM or 
  495. networking), but do not include any XMS, EMS, mouse, or memory management 
  496. device drivers.  Make sure that everything is referenced with a drive letter 
  497. and path, as above.  
  498.  
  499. 4. Set up AUTOEXEC.BAT.  Likewise, create a file named A:\AUTOEXEC.BAT and 
  500. make sure that the first line reads:  
  501.       
  502.       C:\OS2\MDOS\MOUSE
  503.       
  504. changing "C:"  if necessary.  Add any additional lines (like PATH, SET 
  505. PROMPT, and so on) as required by your application.  {{ Make sure that 
  506. \OS2\MDOS is referenced in the PATH.  }} 
  507.  
  508. 5. Test your DOS diskette.  Once you have configured the CONFIG.SYS and 
  509. AUTOEXEC.BAT files as you wish, double click on OS/2 System -> Command 
  510. Prompts -> DOS from Drive A:.  A DOS session should start.  Test for the 
  511. functionality you need (like access to your CD-ROM reader or network).  If 
  512. the session is not working properly, press CTRL-ESC and shut down the 
  513. session, edit CONFIG.SYS and/or AUTOEXEC.BAT as required, and repeat the 
  514. test.  
  515.  
  516. 6. Create the diskette image.  When you are satisfied that your specific DOS 
  517. session diskette functions properly, go back to the OS/2 Window and type 
  518. VMDISK A:  C:\DOS.IMG to create a diskette image file.  (If you want the 
  519. file to be located on another drive or in another directory, change "C:\" 
  520. accordingly.)  
  521.  
  522. 7. Create a program object for your specific DOS session.  Drag a program 
  523. object from your Templates folder to any target folder.  When the notebook 
  524. opens, enter a single asterisk (*) in the Program Name field, then click on 
  525. the right arrow in the lower right.  Select either DOS Window or DOS Full 
  526. Screen for the session type, as desired.  Click on the DOS Settings button, 
  527. and scroll down until you find the DOS_STARTUP_DRIVE property.  Enter 
  528. C:\DOS.IMG in the field at the upper right.  (If your image file is not 
  529. located on Drive C in the root directory, make the necessary changes.)  
  530. Change any other DOS Settings if necessary.  Click on the Save button, then 
  531. click on the General tab.  Give your program object a name.  Then close up 
  532. the notebook.  
  533.   
  534. You should now be able to double click on your new program object to start 
  535. your specific DOS session.  If you require access to your diskette drive 
  536. (Drive A), use the FSACCESS command.  See the online Command Reference for 
  537. details.  
  538.  
  539. When formatting your bootable DOS diskette, you may wish to use additional 
  540. command line parameters to create a diskette with a reduced capacity.  The 
  541. "smaller" the diskette, the less room the diskette image file created by 
  542. VMDISK will take on your hard disk.  See your DOS manual for details, or use 
  543. the example given above.  
  544.  
  545.   
  546.   Related information: 
  547.   
  548.   (1.3) DOS and Windows Compatibility 
  549.   
  550.  
  551. (5.10) Clever Tricks
  552.  
  553. Are there any clever tricks that apply to OS/2 2.1?  
  554.  
  555. o To force DIR to display your directories in alphabetical order, with the 
  556. subdirectories listed first, add the line 
  557.     
  558.     SET DIRCMD=/O:GN
  559.     
  560. to CONFIG.SYS; and, if you wish the same for your DOS command line sessions, 
  561. add the same line to AUTOEXEC.BAT.  You may also wish to run DOSKEY to 
  562. enable the command history feature.  (Shutdown and reboot for changes to 
  563. CONFIG.SYS to take effect.)  
  564.  
  565. o Hold down SHIFT while resizing text windows to make size changes 
  566. permanent.  
  567.  
  568. o If you want to configure your printer port(s) for shared access (so that 
  569. DOS programs like LapLink, for example, can use them directly), go to your 
  570. printer object, click on it with mouse button two, select Open -> Settings, 
  571. select the Output tab, then double click on the port you wish to share.  
  572. Check the appropriate box.  
  573.  
  574. o While running a DOS graphics program in a window, use the graphics cut and 
  575. paste feature to clip a picture and paste it into the Icon Editor.  You can 
  576. then quickly and easily create custom icons for your applications.  
  577.  
  578. o To disable the automatic application restart feature, create a STARTUP.CMD 
  579. file in the root directory of your OS/2 boot drive with the following REXX 
  580. script:  
  581.     
  582.     /*  */
  583.     call RxFuncadd 'SysLoadFuncs', 'RexxUtil', 'SysLoadFuncs'
  584.     call SysLoadFuncs 
  585.     call SysIni 'USER', 'PM_WorkPlace:Restart', 'DELETE:'
  586.     'exit'
  587.     
  588. or add the line 
  589.     
  590.     SET RESTARTOBJECTS=STARTUPFOLDERSONLY
  591.     
  592. to your CONFIG.SYS.  To manually disable automatic application restart when 
  593. booting OS/2, hold down the left CTRL, left SHIFT, and F1 keys 
  594. simultaneously from the time the mouse pointer appears until icons are 
  595. displayed on the desktop.  
  596.  
  597. o Use the Alarms applet to automatically start programs at specified times.  
  598.  
  599. To start the Alarms applet minimized, put /I in the Optional Parameters 
  600. section of its program object settings.  
  601.  
  602. o If you wish to dispense with the Workplace Shell (and its overhead), 
  603. particularly on low memory systems, change the line SET RUNWORKPLACE...  in 
  604. CONFIG.SYS to read SET RUNWORKPLACE=C:\OS2\CMD.EXE (replacing C, if 
  605. necessary, with a different drive letter).  In fact any program with job 
  606. control (e.g.  Enhanced Editor, HyperAccess/5) can be used as the shell.  [A 
  607. character mode alternative to the Workplace Shell, MenuMaster, is now 
  608. available from (3.2) Shareware and Freeware Sources.] 
  609.  
  610. o To implement a small scroll back buffer for your OS/2 command line 
  611. windows, use the command MODE CO80,102.  This procedure may be automated by 
  612. adding /K MODE CO80,102 in the Optional Parameters section of the OS/2 
  613. Window program object settings.  
  614.  
  615. o If you do not want any command line parameters passed to a program object 
  616. that you start (for example, if you customize the desktop menu so that it 
  617. has an additional option which starts a command line prompt) place a lone % 
  618. in the Optional Parameters section of the program object settings.  If you 
  619. do wish to pass parameters, but you want the extraneous information that the 
  620. Workplace Shell passes to the object to be ignored, try putting && REM % in 
  621. the Optional Parameters section after the parameters you wish passed.  
  622.  
  623. o If you want to move an icon a small distance, "grab" it from the edge 
  624. nearest the direction you want to move the icon.  
  625.  
  626. o A clever way to manipulate files that are locked when the Workplace Shell 
  627. is running (e.g.  display drivers) is to add the line CALL=CMD.EXE at the 
  628. end of CONFIG.SYS.  Then Shutdown and reboot.  The system will restart with 
  629. an OS/2 command line prompt.  Type EXIT to proceed into the Workplace Shell.  
  630. Using CALL is also a convenient way to configure OS/2's serial ports using 
  631. the MODE command.  For example:  
  632.     
  633.     CALL=C:\OS2\MODE.COM COM2:38400,N,8,1,OCTS=OFF,RTS=ON,BUFFER=ON
  634.     
  635. configures COM2 for high speed RTS handshaking and buffered I/O.  [Moreover, 
  636. the MODE command can be used to determine whether your system has a buffered 
  637. UART (National Semiconductor 16550A or equivalent), nearly essential for 
  638. high speed communications.  Use the command:  
  639.  
  640.     MODE COMx 
  641.  
  642. (where x is the communications port number) from an OS/2 command line.  If 
  643. you see anything but "BUFFER = N/A" then you have a buffered UART for that 
  644. port.] 
  645.  
  646. You can use either CDDBOC or SHIFTRUN instead of CALL; both utilities are 
  647. available from (3.2) Shareware and Freeware Sources.  
  648.  
  649. Another way, which works well with display drivers, is to copy the new 
  650. DLL(s) to its(their) own directory (say, C:\NEW), then place that directory 
  651. name first in LIBPATH in CONFIG.SYS.  Shutdown and reboot.  OS/2 will use 
  652. that(those) DLL(s) before it attempts to use the one(s) located in \OS2\DLL.  
  653. [This method is required when using a 16-bit OS/2 2.0 display driver with 
  654. OS/2 2.0 CSD Level 06055 or later.  See (4.6) Corrective Service Diskettes.] 
  655. To switch back to the old driver, edit CONFIG.SYS and remove C:\NEW from 
  656. LIBPATH, then Shutdown and reboot.  
  657.  
  658. o To shutdown without a mouse, press CTRL-ESC, select the Desktop, then 
  659. press the spacebar (to deselect any icons, if necessary), SHIFT-F10, and 
  660. select Shutdown.  
  661.  
  662. o If your video driver does not support "seamless" Windows, try running the 
  663. Win-OS/2 Program Manager in a DOS window.  
  664.  
  665. o Selective Install should be used with caution when changing mouse or 
  666. display drivers.  Verify that proper changes have been made to CONFIG.SYS.  
  667.  
  668. o If your settings notebooks (or PM Sticky Pads) do not display but are 
  669. listed in the Window List, click on the name of the settings notebook in the 
  670. Window List (brought up with CTRL-ESC) with mouse button two and select 
  671. Cascade.  
  672.  
  673. o If your \OS2\*.INI files have grown large, use the CopyINI or WPSBackup 
  674. utilities to shrink them.  Both are available from (3.2) Shareware and 
  675. Freeware Sources.  
  676.  
  677. o To restart the Workplace Shell (without saving desktop settings, perhaps 
  678. after an accidental Arrange), use a utility such as psPM [available from 
  679. (3.2) Shareware and Freeware Sources] to terminate PMSHELL.  
  680.  
  681. o To get rid of a WPS object that cannot be deleted, try one of the 
  682. following:  
  683.  
  684. - Insert a blank diskette in Drive A, click on the stubborn object with 
  685. mouse button two, select Move, select the Path page, enter A:\, press ENTER, 
  686. then format the diskette; 
  687.  
  688. - Use the WPSTools or Black Hole, available from (3.2) Shareware and 
  689. Freeware Sources.  (The WPSTools can also recreate desktop objects that have 
  690. been lost.)  
  691.  
  692. o To load a device driver into high memory in a particular DOS session 
  693. change the DOS_DEVICE setting for the session and add SIZE=0 before the path 
  694. and filename for the device driver.  For example, the following DOS_DEVICE 
  695. entry:  
  696.  
  697.     SIZE=0 C:\OS2\MDOS\ANSI.SYS 
  698.  
  699. loads the ANSI.SYS device driver into high memory in that particular 
  700. session.  
  701.  
  702. o If you wish to create diskettes from MAKEDSKF (.DSK) image files, such as 
  703. those contained on the CD-ROM version of OS/2, and you do not wish to use 
  704. the DOS and OS/2 utility LOADDSKF, you may use a workstation.  For example, 
  705. on an IBM RS/6000 or Sun workstation you may use the command:  
  706.  
  707.     dd if=(input filename) of=/dev/rfd0 ibs=1b obs=60b conv=sync 
  708.  
  709. o To reboot the machine from the command line, use:  
  710.     
  711.     SETBOOT /IBD:C
  712.     
  713. Change the last letter (C) if you want to boot from another drive.  {{ Disk 
  714. buffers will be flushed, but Workplace Shell settings will not be saved.  }} 
  715.  
  716. o The settings notebooks now support drag and drop operations for assigning 
  717. icons and for changing menus.  
  718.  
  719. To change the icon for an object, first open the settings notebook (click on 
  720. the object with the secondary mouse button, then select Open -> Settings).  
  721. Click on the General tab.  Then drag any other object to the icon located on 
  722. the General page of the settings notebook.  The object's icon will change to 
  723. match.  If you want to restore it to its former state, click on the Undo 
  724. button.  
  725.  
  726. To assign actions to menus, open the settings notebook, then click on the 
  727. Menu tab.  Click on any of the items in the Available menus section (or 
  728. Create another).  To add an Action, drag the desired program object to the 
  729. Actions on menu section.  
  730.  
  731. o To quickly maximize a window, double click on its title bar.  To restore 
  732. the window to its former size, double click on the title bar again.  
  733.  
  734. o Select the Flowed setting (on the View page of the settings notebook) for 
  735. fastest display when opening folders.  
  736.  
  737. o If you have UNDELETE enabled, but you want to delete an occasional file 
  738. without the overhead incurred by having UNDELETE capability, use the /F 
  739. parameter with the DEL command.  Using this parameter (in either a DOS or 
  740. OS/2 Window) will bypass the routine which moves the file(s) to the 
  741. directory specified by the DELDIR environment variable.  The file(s) is(are) 
  742. deleted faster, but you will not be able to undelete it(them).  The /N 
  743. parameter will prevent prompting ("Are you sure?").  
  744.  
  745. o OS/2 2.1 now includes the ability to set a power on password.  However, if 
  746. you have forgotten your password, and you cannot unlock your desktop when 
  747. you turn your machine on, try the following.  Start OS/2 from a diskette 
  748. boot [see (4.4) Starting OS/2 from Diskette] to get a command line prompt.  
  749. At the prompt, enter the following commands:  
  750.     
  751.     C:
  752.     
  753. (assuming OS/2 is installed on Drive C; change if necessary) 
  754.     
  755.     MAKEINI OS2.INI LOCK.RC
  756.     
  757. o If you are using a 1024x768 display driver (such as 8514/A), but you do 
  758. not want the icons scaled up in size from 32x32 to 40x40, patch the display 
  759. driver file (e.g.  \OS2\DLL\8514_32.DLL) using DEBUG or a similar utility.  
  760. Search for the hexadecimal byte sequence 28 00 28 00 20 00 20 00 and replace 
  761. the two 28 values with 20.  Reboot for the change to take effect, and be 
  762. sure to keep a backup copy of the original file.  
  763.  
  764. o To hide your entire desktop, single click on any icon on the desktop, 
  765. press CTRL-ESC, then press CTRL-SHIFT-ESC.  To return the desktop to normal, 
  766. press CTRL-ESC then double click on Desktop.  
  767.  
  768. o If you would like to have a Presentation Manager application start up 
  769. minimized, first set up a program object for it by dragging a Program 
  770. template from the Templates folder.  Then, on the first page of the 
  771. notebook, enter the full path and filename of the PM program, but 
  772. deliberately misspell it.  Click on the arrow in the lower right to turn the 
  773. page, then check the Start minimized checkbox.  Click on the left arrow to 
  774. turn the page back, then correct the misspelling.  Fill in any other 
  775. information, as desired, then close up the notebook.  The program object is 
  776. now ready to start your PM application minimized.  
  777.  
  778. o To get approximately 730K free in your DOS sessions, change 
  779. VIDEO_MODE_RESTRICTION in the session's settings to CGA (unless your 
  780. application requires more than CGA graphics capabilities).  Note that you 
  781. may have to place the line:  
  782.  
  783.     DOS_RMSIZE=639 
  784.  
  785. in your CONFIG.SYS file to get this much free memory.  
  786.  
  787. o {{ In a full screen, character mode OS/2 session it is normally impossible 
  788. to copy text from the screen to the Clipboard.  To get around the problem, 
  789. try setting your printer object to hold all print jobs, press the 
  790. PrintScreen key while the full screen OS/2 session is active, return to the 
  791. printer object and double click on the print job icon for the PrintScreen, 
  792. then cut and paste from the editor.  }} 
  793.   
  794.   
  795.   Related information: 
  796.   
  797.   (3.2) Shareware and Freeware Sources 
  798.   (4.4) Starting OS/2 from Diskette 
  799.   (4.6) Corrective Service Diskettes 
  800.   
  801.  
  802. (5.11) REXX
  803.  
  804. How do I use REXX?  What does it do?  
  805.  
  806. REXX is built into every copy of OS/2 (where it is also known as Procedures 
  807. Language/2).  It is a general purpose, interpreted programming language 
  808. which was first released on IBM mainframes over a decade ago.  REXX is 
  809. extremely easy to learn and use.  It is particularly strong at string 
  810. manipulation, and it has features which are difficult to implement in 
  811. compiled languages (like the ability to read its own source code or execute 
  812. a string as a command).  
  813.  
  814. OS/2 applications can use REXX as a common scripting language, which means 
  815. that users need not learn separate macro or script languages for each 
  816. application.  For example, the OS/2 versions of Lotus 1-2-3 and Borland 
  817. ObjectVision will interface with REXX.  OS/2's multimedia extensions 
  818. (MMPM/2) contain a REXX interface, so REXX programs can play, record, and 
  819. manipulate sound and video files.  And REXX can be used to create complex 
  820. batch files (with interactive prompting), since it is integrated so tightly 
  821. into OS/2's command processor.  Moreover, A pair of REXX visual builders 
  822. (programming tools which help create even complex REXX applications quickly 
  823. and easily using simple, drag and drop manipulation of on screen objects), 
  824. HockWare's VisPro/REXX and Watcom's VX REXX, are now available.  
  825.  
  826. For more information on OS/2's REXX interpreter, see the REXX Information 
  827. online documentation located in the Information folder.  For more 
  828. information on REXX generally, consult the REXX Frequently Asked Questions 
  829. List [available from (3.2) Shareware and Freeware Sources].  
  830.  
  831. Here are some REXX hints and tips:  
  832.  
  833. o If you wish to place program output in the REXX queue (for processing by a 
  834. REXX program), try 
  835.     
  836.     DIR *.TXT | RXQUEUE 
  837.     
  838. as an example.  (In other words, pipe the program output to RXQUEUE.)  To 
  839. use this program output in your REXX program, try 
  840.     
  841.     /* Sample */
  842.     WHILE QUEUED() > 0 
  843.     PARSE PULL X 
  844.     SAY X 
  845.     END 
  846.  
  847. o To execute REXX commands interactively from the command line, use the 
  848. REXXTRY command.  For example:  
  849.     
  850.     REXXTRY DO X=1 TO 10;SAY X;END
  851.     
  852.   
  853.   
  854.   Related information: 
  855.   
  856.   (0.2) Recent Developments 
  857.   (3.2) Shareware and Freeware Sources 
  858.   (3.6) Multimedia (MMPM/2)
  859.   
  860.  
  861. (5.12) ANSI Escape Sequences
  862.  
  863. What ANSI escape sequences can be used?  
  864.  
  865. ANSI escape sequences provide cursor and screen control in OS/2 character 
  866. mode sessions.  By default ANSI support is turned ON (although it may be 
  867. turned off with the command ANSI OFF).  ANSI support is also available in 
  868. DOS sessions if the device driver ANSI.SYS is loaded.  See the online 
  869. Command Reference for details.  
  870.  
  871. The following ANSI escape sequences are available:  
  872.  
  873.   Key       
  874.   ESC       Refers to ASCII code 27 (i.e. the Escape key) 
  875.   #         Replace with the appropriate number 
  876.   ....      Replace with additional attributes, if desired 
  877.   
  878.   Escape Code Sequence          Function 
  879.   Cursor Controls               
  880.   ESC[#;#H or ESC[#;#f          Moves cursor to line #, column # 
  881.   ESC[#A                        Moves cursor up # lines 
  882.   ESC[#B                        Moves cursor down # lines 
  883.   ESC[#C                        Moves cursor forward # spaces 
  884.   ESC[#D                        Moves cursor back # spaces 
  885.   ESC[#;#R                      Reports current cursor line and column 
  886.   ESC[s                         Saves cursor position for recall later 
  887.   ESC[u                         Return to saved cursor position 
  888.   Erase Functions               
  889.   ESC[2J                        Clear screen and home cursor 
  890.   ESC[K                         Clear to end of line 
  891.   Set Graphics Rendition        
  892.   ESC[#;#;....;#m               Set display attributes where # is 
  893.                                 0 for normal display 
  894.                                 1 bold on 
  895.                                 4 underline (mono only) 
  896.                                 5 blink on 
  897.                                 7 reverse video on 
  898.                                 8 nondisplayed (invisible) 
  899.                                 30 black foreground 
  900.                                 31 red foreground 
  901.                                 32 green foreground 
  902.                                 33 yellow foreground 
  903.                                 34 blue foreground 
  904.                                 35 magenta foreground 
  905.                                 36 cyan foreground 
  906.                                 37 white foreground 
  907.                                 40 black background 
  908.                                 41 red background 
  909.                                 42 green background 
  910.                                 43 yellow background 
  911.                                 44 blue background 
  912.                                 45 magenta background 
  913.                                 46 cyan background 
  914.                                 47 white background 
  915.   ESC[=#;7h                     Put screen in indicated mode where # is 
  916.                                 0 for 40x25 black and white 
  917.                                 1 40x25 color 
  918.                                 2 80x25 black and white 
  919.                                 3 80x25 color 
  920.                                 4 320x200 color graphics 
  921.                                 5 320x200 black and white graphics 
  922.                                 6 640x200 black and white graphics 
  923.                                 7 to wrap at end of line 
  924.   ESC[=#;7l                     Resets mode # set with above command 
  925.   Keyboard Reassignments        
  926.   ESC[#;#;....#p                The first ASCII code defines what is
  927.                                 to be changed; the remaining codes define
  928.                                 what it is to be changed to; strings are
  929.                                 permitted. Examples:
  930.                                 ESC[65;81p - A becomes Q 
  931.                                 ESC[81;65p - Q becomes A 
  932.                                 ESC[0;68;"dir";13p - Assign the F10 key
  933.                                     to a DIR command.
  934.                                 The 0;68 portion is the extended ASCII
  935.                                 code for the F10 key and 13 is the ASCII
  936.                                 code for a carriage return. 
  937.                                 Other function key codes: F1=59, F2=60,
  938.                                     F3=61, ... F10=68.
  939.   
  940. You can use ANSI escape sequences in the PROMPT environment variable to 
  941. create complex command line prompts.  See the online Command Reference 
  942. (under PROMPT) for details.  
  943.  
  944. For example, if you have a color monitor, try editing your CONFIG.SYS file 
  945. so that 
  946.   
  947.   SET PROMPT=$e[32;40m$e[1m[$P]$e[0m
  948.   
  949. to obtain a more colorful OS/2 command line prompt.  (Case is significant in 
  950. the example given.)  You can do the same for your DOS sessions if you edit 
  951. PROMPT in AUTOEXEC.BAT, assuming you have ANSI.SYS loaded.  Note that the $i 
  952. portion of your PROMPT will enable the help line at the top of the window or 
  953. screen.  It is not included in the example above.  
  954.  
  955. To change the background color of your OS/2 command line sessions, modify 
  956. your CONFIG.SYS file so that this line is changed as shown:  
  957.   
  958.   SET OS2_SHELL=C:\OS2\CMD.EXE /K BLUESCR.CMD
  959.   
  960. changing the drive letter, if necessary.  Then create a file named 
  961. BLUESCR.CMD which contains the following lines:  
  962.   
  963.   @ECHO OFF 
  964.   PROMPT=$e[32;44;1m
  965.   PROMPT $p$g
  966.   CLS 
  967.   
  968. Save the file to a directory that is named in the SET PATH line of your 
  969. CONFIG.SYS file.  Reboot.  Then, when you start an OS/2 command line, the 
  970. background color will be different.  You can change the numbers in the first 
  971. PROMPT line to obtain different colors.  
  972.  
  973. If you are using JP Software's 32-bit 4OS2, and you would like the name of 
  974. the current working directory to appear in the title bar, try using the 
  975. following command:  
  976.   
  977.   PROMPT `%@exec[window"%_cwd"]$h[$p]`
  978.   
  979.   
  980.   Related information: 
  981.   
  982.   (5.10) Clever Tricks 
  983.   
  984.  
  985. (6.0) Miscellaneous
  986.  
  987. The following questions are addressed in this section:  
  988.  
  989.  (6.1)  What can I do to promote OS/2? 
  990.  
  991.  (6.2)  How can I create INF files? 
  992.  
  993.  
  994. (6.1) Promoting OS/2
  995.  
  996. What can I do to promote OS/2?  
  997.  
  998. OS/2 is selling well, but there are steps you can take to assure that 
  999. hardware devices and software will be available for OS/2 in the future.  
  1000. Customer requests do matter.  
  1001.  
  1002. o Politely, firmly, and repeatedly request driver support from printer, 
  1003. video adapter, and other hardware manufacturers.  
  1004.  
  1005. o When you receive a mailing for DOS/Windows software with a postpaid 
  1006. envelope, return the order form marked "Please send information on your OS/2 
  1007. version."  
  1008.  
  1009. o Start a user group at your location.  Contact Gene Barlow (phone 
  1010. 214-402-6456) {{ or Kathy Fanning }} at IBM or mail ibmpcug@vnet.ibm.com for 
  1011. assistance.  Think about how you can publicize your user group.  For 
  1012. instance, most local newspapers and television stations will print/broadcast 
  1013. meeting announcements for free.  Your local cable television company will be 
  1014. happy to broadcast a videotape of your meeting on the public access channel.  
  1015.  
  1016. o Correspond with members of the computer trade press.  Ask for reviews of 
  1017. OS/2 software, hardware compatibility testing with OS/2, OS/2 benchmarking, 
  1018. etc.  Respond politely but forcefully to press you think unfair; praise good 
  1019. reporting.  
  1020.  
  1021. o When you purchase a new system, ask the vendor to install OS/2 2.1, and to 
  1022. offer credit for dropping DOS and Windows.  If the vendor refuses, you may 
  1023. wish to take your business elsewhere.  Compaq, Everex, AST, Northgate, ALR, 
  1024. Unisys, Dell, Tangent, IBM, and Ariel Design all offer systems with OS/2 2.1 
  1025. preloaded.  
  1026.  
  1027. o Make sure your company (or yourself) specifies OS/2 compatibility when 
  1028. purchasing new products.  
  1029.  
  1030. o Demonstrate OS/2 to friends, relatives, and associates.  
  1031.  
  1032. o Ask your computer store to stock OS/2 software titles, have OS/2 
  1033. demonstration machines, etc.  
  1034.  
  1035. o Pass along useful OS/2 shareware and freeware to your local BBS.  Be sure 
  1036. to register OS/2 shareware.  
  1037.  
  1038. o Write an outstanding piece of shareware or freeware [See (4.5) Technical 
  1039. Support for details on joining DAP].  IBM has been known to recognize such 
  1040. work with rewards.  Also, ask authors of DOS/Windows shareware and freeware 
  1041. if they would port to OS/2, or volunteer.  
  1042.  
  1043. o Recommend products that work well under OS/2; dissuade people from 
  1044. purchasing products that do not.  
  1045.  
  1046. o Wear OS/2 pins, shirts, buttons, and other souvenirs.  Contact the 
  1047. Lees/Keystone OS/2 Merchandise Center (phone 914-273-6755 or FAX 
  1048. 914-273-9187) or the IBM OS/2 Hotline (phone 800-3-IBM-OS2) to order such 
  1049. items.  
  1050.  
  1051. o Join Team OS/2, an international organization of volunteers who are OS/2 
  1052. enthusiasts and are actively sharing their knowledge and enthusiasm with 
  1053. others.  These activities include supporting OS/2 user groups, running OS/2 
  1054. BBSes and online conferences, demonstrating OS/2 at retail stores and other 
  1055. public places, encouraging and helping others to install OS/2, answering 
  1056. OS/2 questions, and much more.  Membership is not limited to IBM employees.  
  1057. For information on Team OS/2 events you should monitor the TEAMOS2 echomail 
  1058. conference on your local FidoNet BBS.  If your local BBS does not carry 
  1059. TEAMOS2, ask your system operator to get it.  See (4.11) OS/2 BBSes for the 
  1060. names and numbers of several BBSes which carry TEAMOS2.  To join Team OS/2, 
  1061. send your name, address(es), and telephone number to Vicci Conway (netmail 
  1062. 76711.1123@compuserve.com or FAX 407-982-1229).  Include information on your 
  1063. activities to date and a one line description of yourself for the public 
  1064. Team OS/2 list.  
  1065.   
  1066.   
  1067.   Related information: 
  1068.   
  1069.   (3.2)  Shareware and Freeware Sources 
  1070.   (4.5)  Technical Support 
  1071.   (4.11) OS/2 BBSes 
  1072.   
  1073.  
  1074. (6.1) Creating INF Files
  1075.  
  1076. How can I create INF files?  
  1077.  
  1078. Creating INF files (like the OS/2 Frequently Asked Questions List) is 
  1079. remarkably straightforward.  All you need is the Information Presentation 
  1080. Facility Compiler (IPFC), part of the IBM Developer's Toolkit for OS/2 2.1 
  1081. (available separately as IBM Part No.  61G1416 or as part of many 
  1082. development environments such as Borland C++ for OS/2), and a text editor 
  1083. (like the Enhanced Editor included with OS/2).  
  1084.  
  1085. Online IPFC documentation is included with the Toolkit, but you may also 
  1086. wish to order the printed Information Presentation Facility Guide and 
  1087. Reference, IBM Publication No.  S10G-6262.  See (4.9) Books and Magazines 
  1088. for ordering instructions.  Note that the Toolkit is part of the low cost 
  1089. OS/2 Developer's Connection CD-ROM.  See (4.5) Technical Support for 
  1090. details.  
  1091.  
  1092. If you wish to include illustrations in your INF file you can use any 
  1093. graphics software which can generate OS/2 bitmaps and/or metafiles.  (For 
  1094. example, you may create your illustration in PM Chart, paste the 
  1095. illustration into Picture Viewer, then save the illustration as a metafile.  
  1096. Both PM Chart and Picture Viewer are included with OS/2 2.1.)  A screen 
  1097. capture utility [like PM Camera or Galleria, available from (3.2) Shareware 
  1098. and Freeware Sources] can also prove useful.  
  1099.  
  1100.  
  1101.  Related information: 
  1102.  
  1103.  (3.2) Shareware and Freeware Sources 
  1104.  (4.5) Technical Support 
  1105.  (4.9) Books and Magazines 
  1106.  
  1107.  
  1108. (7.0) Glossary
  1109.  
  1110. {{ The following terms are often used in conjunction with OS/2:  
  1111.  
  1112.   Term              Definition 
  1113.  
  1114.   APAR              A bug fix which has been (or will be) created by IBM to
  1115.                     address a very specific problem.
  1116.                     (Example: "Please send me APAR 09761.") 
  1117.  
  1118.   CID               "Configuration/Installation/Distribution": a term
  1119.                     usually used to refer to the ability to install an
  1120.                     operating system or application remotely, over a
  1121.                     network.  (Example: "IBM TCP/IP 2.0 for OS/2
  1122.                     is now CID-enabled.")  See (4.2) Installing from Drive
  1123.                     B.
  1124.  
  1125.   CSD               "Corrective Service Diskette(s)": see (4.6) Corrective
  1126.                     Service Diskettes.
  1127.  
  1128.   DASD              "Direct Access Storage Device": disk space (most
  1129.                     commonly a hard disk drive).  (Example: "I do
  1130.                     not have enough DASD for this new application.") 
  1131.  
  1132.   DMA               "Direct Memory Access": circuitry provided on all PCs
  1133.                     to allow peripherals (such as disk controllers) to
  1134.                     transfer data to memory directly, without the assistance
  1135.                     of the computer's processor.  Appropriate use of DMA can
  1136.                     often help to improve overall system performance.
  1137.  
  1138.   EA                "Extended Attribute": up to 64K of assorted data stored
  1139.                     with any file under OS/2.  Such data may include file
  1140.                     type (e.g. "Plain Text"), icons, comments, and other
  1141.                     information which is best left outside the file itself.
  1142.                     Only OS/2 applications can create and modify extended
  1143.                     attributes.
  1144.  
  1145.   ES                "Extended Services": see (3.9) Extended Services. 
  1146.  
  1147.   FAT               "File Allocation Table": the disk format introduced by
  1148.                     DOS.  See HPFS.
  1149.  
  1150.   GA                "General Availability": available for purchase as a
  1151.                     shrinkwrapped product from IBM and its dealers.
  1152.  
  1153.   HPFS              "High Performance File System": see (1.5) High
  1154.                     Performance File System.
  1155.  
  1156.   IPL               "Initial Program Load": starting a PC's operating system
  1157.                     (i.e. booting or rebooting).  (Example: "Please IPL
  1158.                     your system now.")  See also RIPL.
  1159.  
  1160.   LA                "Limited Availability": available only from IBM to
  1161.                     certain customers.
  1162.  
  1163.   multitasking      Running two or more applications "simultaneously,"
  1164.                     dividing the computer processor's attention among them.
  1165.                     (In fact, the two or more applications only appear to 
  1166.                     run simultaneously because the processor switches 
  1167.                     between them rapidly.)  Cooperative multitasking, such 
  1168.                     as that found in Microsoft Windows and Macintosh System
  1169.                     7, requires that each application be written so as to
  1170.                     "surrender" the computer's processor at regular
  1171.                     intervals so that it can devote attention to other
  1172.                     running applications.  If one application for some 
  1173.                     reason refuses to yield the processor, all other
  1174.                     applications stop running.  Preemptive multitasking, as
  1175.                     found in OS/2 and Unix, for example, leaves the 
  1176.                     operating system in charge of delegating processor time
  1177.                     to each running application.  The amount of attention
  1178.                     given depends the operating system's scheduler, the
  1179.                     logic which assesses (and perhaps adjusts) the
  1180.                     priorities of various tasks and assigns processor
  1181.                     attention accordingly.
  1182.  
  1183.   multithreading    An operating system's ability to manage what are
  1184.                     sometimes called lightweight processes, namely subtasks
  1185.                     which are spawned by applications.  For example, a word
  1186.                     processor may be written so that any printing operation
  1187.                     is put in a separate thread.  This thread is then run
  1188.                     alongside the word processor itself, in the background,
  1189.                     so that control returns immediately to the user of the
  1190.                     word processor.  See multitasking.
  1191.  
  1192.   PM                "Presentation Manager": the underlying services used by
  1193.                     programmers and the Workplace Shell (see WPS) to provide
  1194.                     windows, scroll bars, dialog boxes, and other essential
  1195.                     interface elements.
  1196.  
  1197.   PMR               "Problem Management Record": a number assigned by IBM
  1198.                     to track a customer-reported problem. (Example: "I have
  1199.                     opened PMR Number 9X534; please reference this number if
  1200.                     you call again.") 
  1201.  
  1202.   RIPL              "Remote Initial Program Load": the capability to boot
  1203.                     (start) a PC (load its operating system) over a network.
  1204.                     See IPL.
  1205.  
  1206.   seamless          Refers to the ability to run Windows applications
  1207.                     alongside OS/2 and DOS applications on the Workplace
  1208.                     Shell (see WPS) desktop as opposed to the full screen
  1209.                     Win-OS/2 desktop.  (Example: "Will this video driver
  1210.                     support seamless Windows?")
  1211.  
  1212.   SMP               "Symmetric Multiprocessing": a set of technologies in
  1213.                     which two or more computer processors (CPUs) are managed
  1214.                     by one operating system to provide greater computing
  1215.                     power to applications.  With SMP, processors are treated
  1216.                     more or less equally (with applications able to run on
  1217.                     any or perhaps all processors in the system,
  1218.                     interchangeably, at the operating system's discretion).
  1219.                     Simple MP usually involves assigning each processor to a
  1220.                     fixed task (such as managing the file system), reserving
  1221.                     the single main CPU for general tasks.  OS/2 currently
  1222.                     supports so-called HMP (Hybrid Multiprocessing), a
  1223.                     version of MP which provides some elements of SMP, using
  1224.                     add-on IBM software called MP/2.  OS/2 SMP is slated for
  1225.                     release in late 1993.
  1226.  
  1227.   SP                "Service Pak": see CSD.  Sometimes numbered (e.g. "SP
  1228.                     2") to refer to a particular Service Pak.
  1229.  
  1230.   Win-OS/2          IBM's customized version of Windows, based on
  1231.                     Microsoft's own source code, which provides
  1232.                     compatibility with Windows applications under OS/2. 
  1233.  
  1234.   WPS               "Workplace Shell": OS/2's most commonly used user
  1235.                     interface which provides icons, folders, drag-and-drop
  1236.                     configuration, settings notebooks, and other features
  1237.                     necessary for user interaction with the operating system
  1238.                     and its applications.
  1239.    }} 
  1240.  
  1241.   
  1242.   Related information: 
  1243.   
  1244.   (1.5) High Performance File System (HPFS)
  1245.   (3.9) Extended Services 
  1246.   (4.2) Installing from Drive B 
  1247.   (4.6) Corrective Service Diskettes 
  1248.   
  1249.  
  1250. [End of Part 4 of 4]
  1251.  
  1252. -- 
  1253. Timothy F. Sipples        | READ the OS/2 Frequently Asked Questions List
  1254. sip1@kimbark.uchicago.edu | 2.1D, available from 192.153.46.2, anonymous
  1255. Dept. of Econ., Univ.     | ftp, in /pub/os2/all/info/faq.
  1256. of Chicago, 60637         | OS/2: The World's Most Popular Way to 32 Bits!
  1257.  
  1258.